export default {
  methods: {
    checkPermission(point) {
      if (!this.$store.state.user.userInfo.roles.points) {
        return false
      }
      return this.$store.state.user.userInfo.roles.points.includes(point)
    }
  }
}
